package com.pc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
/**
 * 购物车界面
 */
public class Cart {
    private Integer id;
    private Integer fid;//主键
    private String fname;//食品名称
    private Double price;//单价
    private Integer quantity;//数量
    private Double amount;//小计
    private String image;//商品图片地址
}
